how to merge 2 or more objects in javascript